package com.ruoyi.print.domain;

import java.math.BigDecimal;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 照片打印任务对象 photo_task
 * 
 * @author ruoyi
 * @date 2025-08-03
 */
public class PhotoTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 照片任务id */
    private Long photoTaskId;

    /** 金额 */
    @Excel(name = "金额", readConverterExp = "付费的金额")
    private BigDecimal money;

    /** 打印状态（未打印0，1已打印） */
    @Excel(name = "打印状态", readConverterExp = "未=打印0，1已打印")
    private String printStatus;

    /** 打印尺寸 */
    @Excel(name = "打印尺寸")
    private String printSize;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 关联的照片列表 */
    private List<SinglePhoto> singlePhotos;

    public void setPhotoTaskId(Long photoTaskId) 
    {
        this.photoTaskId = photoTaskId;
    }

    public Long getPhotoTaskId() 
    {
        return photoTaskId;
    }

    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }

    public void setPrintStatus(String printStatus) 
    {
        this.printStatus = printStatus;
    }

    public String getPrintStatus() 
    {
        return printStatus;
    }

    public void setPrintSize(String printSize) 
    {
        this.printSize = printSize;
    }

    public String getPrintSize() 
    {
        return printSize;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public List<SinglePhoto> getSinglePhotos() 
    {
        return singlePhotos;
    }

    public void setSinglePhotos(List<SinglePhoto> singlePhotos) 
    {
        this.singlePhotos = singlePhotos;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("photoTaskId", getPhotoTaskId())
            .append("money", getMoney())
            .append("printStatus", getPrintStatus())
            .append("printSize", getPrintSize())
            .append("address", getAddress())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
